package com.yan.demo.loopdemo;

public class WhileDemo5 {
    public static void main(String[] args) {
        double i = 0.0001;
        int count = 0;
        while (i <= 8848) {
            count++;
            i *= 2;
        }
        System.out.println("需要折" + count + "次");
    }
}
